package com.platform.entity.res;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 探访记录单
 * @Author jaalemon@163.com
 * @Date 2022/11/11 14:13
 * @Version 1.0
 */
@Data
@TableName("res_visit")
public class ResVisit implements Serializable {

    private Integer id;
    // 被探访会员
    private Long targetUserId;
    // 探访发起人
    private Long sourceUserId;
    // 见面地点
    private String addr;
    // 探访时间
    private String visitTime;
    // 探访主题
    private String subject;
    // 上传图片
    private String picUrl;
    @TableField(exist = false)
    private String[] picUrlArr;
    // 新增时间
    private Date addTime;
    @TableField(exist = false)
    private String addTimeStr;

    // 探访人数
    private Integer visitNums;
    // 探访企业名称
    private String company;
    //  direction : in 我的来访， out 我的探访
    @TableField(exist = false)
    private String direction;

    @TableField(exist = false)
    private String userName;
    @TableField(exist = false)
    private String companyName;
    @TableField(exist = false)
    private String userIcon;
    @TableField(exist = false)
    private String ownerName;
    @TableField(exist = false)
    private String levelName;

    // 同行小组成员
    private String visitors;
    // 主持人
    private String chair;
    // 探访笔记
    private String content;

}
